package com.xiyou.luckdraw.api.converter;

import com.xiyou.luckdraw.api.dal.entitys.ProductCategory;
import com.xiyou.luckdraw.api.dto.product.AddProductCategoryRequest;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * @ClassName: ProductCategoryConverter
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-16 20:20
 */

@Mapper(componentModel = "spring")
public interface ProductCategoryConverter {

    @Mappings({})
    ProductCategory req2Product(AddProductCategoryRequest request);

}
